#ifndef CHANGEIDWIDGET_H
#define CHANGEIDWIDGET_H



#include <QWidget>
QT_BEGIN_NAMESPACE
class QLineEdit;
class QPushButton;
QT_END_NAMESPACE


class ChangeIdWidget : public QWidget
{
  Q_OBJECT

public:
  explicit ChangeIdWidget(QWidget *parent = nullptr);
  ~ChangeIdWidget();

  void create();

  void writeText(const QString& data);

private slots:

  //开始校准
  void btn1Slots();

  //结束
  void btn2Slots();

signals:
  void mySignalId(const QString& str);

private:

  QLineEdit *lineEdit = nullptr;

  QPushButton *btn1 = nullptr;

  QPushButton *btn2 = nullptr;


};



#endif // CHANGEIDWIDGET_H
